import axios from 'axios'
axios.defaults.baseURL = 'http://127.0.0.1:8080'

//请求响应拦截器
axios.interceptors.request.use(config=>{s
    return config;
})

axios.interceptors.response.use(response=>{
    return response
},err=>{
    return Promise.reject(err)
})

export default axios